#ifndef COMPLETIONSDIALOG_H
#define COMPLETIONSDIALOG_H

#include <QtGui/QButtonGroup>
#include <QtGui/QDialog>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QTextEdit>

class CompletionsDialog : public QDialog
{
    Q_OBJECT
    
    QDialogButtonBox *buttonBox;
    QTextEdit *teTreeCompletions;
    QTextCharFormat * currFormat;

    void loadKeyTree();
    void saveKeyTree();

public:
    explicit CompletionsDialog(QWidget *parent = 0);
    ~CompletionsDialog();
    
private slots:
    void accept();

};

#endif // COMPLETIONSDIALOG_H
